<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8"%>
<%@include file="header.jsp"%>
<div class="clearfix"></div>
<div class="row">
    <div class="col-md-12 col-sm-12 col-xs-12">
        <div class="x_title">
            <h2>学生信息查询 <i class="fa fa-user"></i>${student.name}</h2>
            <div class="clearfix"></div>
        </div>
        <div class="x_title">
            <h2>查询学生成绩</h2>
            <div class="clearfix"></div>
        </div>
        <div class="col-md-12 col-sm-12 col-xs-12">
            <div class="col-sm-12">
                <table id="datatable-responsive" class="table table-striped table-bordered dt-responsive nowrap dataTable no-footer dtr-inline collapsed"
                       cellspacing="0" width="100%" role="grid" aria-describedby="datatable-responsive_info" style="width: 100%;">
                    <thead>
                    <tr role="row">
                        <th class="sorting">学号</th>
                        <th class="sorting">思想分</th>
                        <th class="sorting">文化分</th>
                        <th class="sorting">身心分</th>
                        <th class="sorting">人文素质分</th>
                        <th class="sorting">职业素质分</th>
                        <th class="sorting">总分</th>
                        <th class="sorting">排名</th>
                    </tr>
                    </thead>
                    <tbody>
                    <tr>
                        <td>${grade.studentId}</td>
                        <td>${grade.iq}</td>
                        <td>${grade.cq}</td>
                        <td>${grade.pmq}</td>
                        <td>${grade.hq}</td>
                        <td>${grade.pq}</td>
                        <td>${grade.total}</td>
                        <td>${grade.ranking}</td>
                    </tr>
                    </tbody>
                </table>
                <div class="col-sm-12">
                    <table class="table table-striped table-bordered dt-responsive nowrap dataTable no-footer dtr-inline collapsed"
                           cellspacing="0" width="100%" role="grid" aria-describedby="datatable-responsive_info" style="width: 100%;">
                        <tr>
                            <td>思想评语</td>
                            <td>${grade.iqComment}</td>
                        </tr>
                        <tr>
                            <td>文化评语</td>
                            <td>${grade.cqComment}</td>
                        </tr>
                        <tr>
                            <td>身心评语</td>
                            <td>${grade.pmqComment}</td>
                        </tr>
                        <tr>
                            <td>人文素质评语</td>
                            <td>${grade.hqComment}</td>
                        </tr>
                        <tr>
                            <td>职业素质分</td>
                            <td>${grade.pqComment}</td>
                        </tr>
                    </table>
                </div>
            </div>
        </div>
            <div class="x_title">
                <h2>学生基础信息</h2>
                <div class="clearfix"></div>
            </div>
            <div class="x_content1">
                <form class="form-horizontal form-label-left">
                    <div class="item form-group">
                        <label class="control-label col-md-3 col-sm-3 col-xs-12">学号 <span class="required">*</span>
                        </label>
                        <div class="col-md-6 col-sm-6 col-xs-12">
                            <input class="form-control col-md-7 col-xs-12" value="${student.userId}"
                                   type="text" readonly="readonly">
                        </div>
                    </div>
                    <div class="item form-group">
                        <label class="control-label col-md-3 col-sm-3 col-xs-12">姓名 <span class="required">*</span>
                        </label>
                        <div class="col-md-6 col-sm-6 col-xs-12">
                            <input type="text" class="form-control col-md-7 col-xs-12"
                                   value="${student.name}" readonly="readonly">
                        </div>
                    </div>

                    <div class="item form-group">
                        <label class="control-label col-md-3 col-sm-3 col-xs-12">学院<span class="required">*</span>
                        </label>
                        <div class="col-md-6 col-sm-6 col-xs-12">
                            <input class="form-control col-md-7 col-xs-12"
                                   value="${student.college}" type="text" readonly="readonly">
                        </div>
                    </div>
                    <div class="item form-group">
                        <label class="control-label col-md-3 col-sm-3 col-xs-12">入学年份 <span class="required">*</span>
                        </label>
                        <div class="col-md-6 col-sm-6 col-xs-12">
                            <input class="form-control col-md-7 col-xs-12" readonly="readonly"
                                   value="${student.year}" type="text">
                        </div>
                    </div>
                    <div class="item form-group">
                        <label class="control-label col-md-3 col-sm-3 col-xs-12">所在班级 <span class="required">*</span>
                        </label>
                        <div class="col-md-6 col-sm-6 col-xs-12">
                            <input type="text" value="${student.classs}"
                                   class="form-control col-md-7 col-xs-12" readonly="readonly">
                        </div>
                    </div>
                    <div class="item form-group">
                        <label class="control-label col-md-3 col-sm-3 col-xs-12">专业 <span class="required">*</span>
                        </label>
                        <div class="col-md-6 col-sm-6 col-xs-12">
                            <input type="text" value="${student.major}"
                                   class="form-control col-md-7 col-xs-12" readonly="readonly">
                        </div>
                    </div>

                    <div class="item form-group">
                        <label class="control-label col-md-3 col-sm-3 col-xs-12">性别 <span class="required">*</span></label>
                        <div class="col-md-6 col-sm-6 col-xs-12">
                            <input type="radio" name="sex" disabled="disabled" <c:if test="${student.sex== '0'}">checked="checked"</c:if>>男
                            <input type="radio" name="sex" disabled="disabled" <c:if test="${student.sex== '1'}">checked="checked"</c:if>>女
                        </div>
                    </div>
                    <div class="item form-group">
                        <label class="control-label col-md-3 col-sm-3 col-xs-12">联系电话 <span class="required">*</span></label>
                        <div class="col-md-6 col-sm-6 col-xs-12">
                            <input type="text" class="form-control col-md-7 col-xs-12"
                                   value="${student.mobilePhone}" readonly="readonly">
                        </div>
                    </div>
                    <div class="item form-group">
                        <label class="control-label col-md-3 col-sm-3 col-xs-12">班主任ID<span class="required">*</span></label>
                        <div class="col-md-6 col-sm-6 col-xs-12">
                            <input type="text" class="form-control col-md-7 col-xs-12"
                                   value="${student.teacherId}" readonly="readonly">
                        </div>
                    </div>
                    <div style="width: 90%; text-align: right">
                        <button type="button" class="btn btn-primary" onclick="javascript:window.history.back(-1);">返回</button>
                    </div>
                </form>
            </div>
            <br/><br/><br/>
    </div>
<%@include file="footer.jsp"%>